﻿@{
    ViewBag.Title = "Get Started";
}

<h2>Get Started</h2>

<p>To start using the libary is very similar with steps for any library, it is as simple as download and configure it.</p>

<h3>Step 1.</h3>
<p>Download a package to your project using NuGet package manager and re-build your project. You can use "totalfreedom" keyword to search for the library in NuGet's online repository.</p>

<h3>Step 2.</h3>
<p>To include the library functionality to a view page, you need to add statement at the top of the page: &#64;using TotalFreedomBST;</p>
<p>If you don't want to add "using" statement to all pages where you use the library, you can add it to the list of default namespaces.</p>
<p>Add the following line to your web.config file in "Views" folder (you may need to re-open solution to get it active)</p>
<p>&lt;system.web.webPages.razor&gt;<br />
<span style="padding-left: 2em;">&lt;pages ...&gt;</span><br />
<span style="padding-left: 4em;">&lt;namespaces&gt;</span><br />
<span style="padding-left: 6em;">&lt;add namespace="System.Web.Mvc" /&gt;</span><br />
<span style="padding-left: 6em;">&lt;add namespace="System.Web.Mvc.Html" /&gt;</span><br />
<span style="padding-left: 6em;">...</span><br />
<span style="padding-left: 6em;">&lt;add namespace="TotalFreedomBST" /&gt;</span>
</p>

<h3>Step 3.</h3>
<p>To even further simplify coding, you can get <a href="http://totalfreedomllc.com/mvcbst/content/snippets/totalfreedombst.snippet">snippets for Visual Studio</a> and import them from "Tools" -> "Code Snippets Manager" -> "Import" menu</p>

<h3>You are ready to go!</h3>
